package com.njtoyo.taxi.admin.mapper.master.enums.local_service;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum LifeMerchantState {
    waiting_for_review(0, "待审核"),
    review_failed(1, "审核未通过"),
    review_approved(2, "[审核已通过(未营业)]"),
    operating(3, "营业中");

    @EnumValue
    private final int code;
    private final String desc;

    LifeMerchantState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
